<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ext4yii xmlns:ext="http://www.w3.org/1999/xhtml" xmlns:prop="http://www.w3.org/1999/xhtml"/>
<prop:Actions>
    <ext:ClientAction onevent="clientvalidation">
        <prop:Handler>
            <script>
                function(form,isvalid)
                {
                    if(isvalid)
                    {
                        employeeEditor.buttons[1].enable();
                    }
                    else
                    {
                        employeeEditor.buttons[1].disable();
                    }
                }
            </script>
        </prop:Handler>
    </ext:ClientAction>
</prop:Actions>